<?php
/**
 * 网络相关
 * Created		: 2012-06-28
 * Modified		: 2012-09-06
 * @link		: http://www.bugcms.com/
 * @copyright	: © 2007 - 2012 BugCMS.Com
 * @version		: 0.0.1
 * @author		: Joseph Chen (chenliq@gmail.com)
 */
class Net
{
	/**
	 * 自动获得标准时间
	 */
	public static function getAtomicTime() 
	{
		$fp=fsockopen('time.nist.gov',13,$errno,$errstr,90);
		echo fread($fp,2096);
	}
}